package com.studyv3.test.service.impl;

import com.studyv3.test.domain.count.ProductCate;
import com.studyv3.test.mapper.CountMapper;
import com.studyv3.test.service.CountService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class CountServiceImpl implements CountService {

    private final CountMapper countMapper;
    @Override
    public List<ProductCate> cateCount() {
        return countMapper.cateCount();
    }
}
